
package com.honey.compilation.xml;

import com.honey.core.builder.CharacterBuilder;

/**
 * xml element
 * @author Administrator
 *
 */
public abstract class AbstractElement {

	/**
	 * 构造函数
	 */
    public AbstractElement() {
        super();
    }

    /**
     * 当前节点是否空节点
     * @return
     */
    public abstract boolean isEmpyt();
    
    
    /**
     * 编译
     * @param indentLevel 缩进
     * @return
     */
    public abstract CharacterBuilder compiledContent(int indentLevel);
}
